package cn.cloud.all.ribbon.rule;

import cn.cloud.all.ribbon.loadbalancer.ILoadBalancer;

public abstract class AbstractLoadBalancerRule implements IRule {

    private ILoadBalancer lb;

    @Override
    public void setLoadBalancer(ILoadBalancer lb) {
        this.lb = lb;
    }

    @Override
    public ILoadBalancer getLoadBalancer() {
        return lb;
    }
}
